﻿namespace QMERP.Domain.Dtos
{
    public class LensSaveRequest
    {
        public long? Id { get; set; }
        /// <summary>
        /// 销售镜种代码
        /// </summary>
        public string SalesLensCode { get; set; } = "";
        /// <summary>
        /// 销售镜种名称
        /// </summary>
        public string SalesLensName { get; set; } = "";
        /// <summary>
        /// 工厂镜种代码
        /// </summary>
        public string FactoryLensCode { get; set; } = "";
        /// <summary>
        /// 工厂镜种名称
        /// </summary>
        public string FactoryLensName { get; set; } = "";
        /// <summary>
        /// 描述
        /// </summary>
        public string? Description { get; set; }
        /// <summary>
        /// 镜种品牌
        /// </summary>
        public string Brand { get; set; } = "";
        /// <summary>
        /// 镜片类型
        /// </summary>
        public string LensType { get; set; } = "";
        /// <summary>
        /// 最大SPH
        /// </summary>
        public int MaxSPH { get; set; }
        /// <summary>
        /// 最小SPH
        /// </summary>
        public int MinSPH { get; set; }
        /// <summary>
        /// 最大CYL
        /// </summary>
        public int MaxCYL { get; set; }
        /// <summary>
        /// 最小CYL
        /// </summary>
        public int MinCYL { get; set; }
        /// <summary>
        /// 最大ADD
        /// </summary>
        public int MaxADD { get; set; }
        /// <summary>
        /// 最小ADD
        /// </summary>
        public int MinADD { get; set; }
        /// <summary>
        /// Size
        /// </summary>
        public string Size { get; set; } = "";
        /// <summary>
        /// 采购价格
        /// </summary>
        public decimal CGPrice { get; set; }
        /// <summary>
        /// 价格
        /// </summary>
        public decimal Price { get; set; }
        /// <summary>
        /// 产品类型(SPH或ADD)
        /// </summary>
        public string ProductType { get; set; } = "";
        /// <summary>
        /// 镜种类型(STOCK或RX)
        /// </summary>
        public string Type { get; set; } = "";
        /// <summary>
        /// 折射率
        /// </summary>
        public string Refraction { get; set; } = "";
        /// <summary>
        /// 是否转换
        /// </summary>
        public bool Transition { get; set; }
        /// <summary>
        /// 优惠券
        /// </summary>
        public int Vouchers { get; set; }
        /// <summary>
        /// Color
        /// </summary>
        public string Color { get; set; } = "";
        /// <summary>
        /// Corridor
        /// </summary>
        public string? Corridor { get; set; }
        /// <summary>
        /// Mirror
        /// </summary>
        public string Mirror { get; set; } = "";
        /// <summary>
        /// Tinting
        /// </summary>
        public string? Tinting { get; set; }
        /// <summary>
        /// Coating
        /// </summary>
        public string Coating { get; set; } = "";
        /// <summary>
        /// 成本
        /// </summary>
        public decimal Cost { get; set; }
        /// <summary>
        /// 币种
        /// </summary>
        public long CurrencyId { get; set; }
        /// <summary>
        /// 工艺特点
        /// </summary>
        public string? TechnologyCode { get; set; }
        /// <summary>
        /// 焦点
        /// </summary>
        public string? FocusCode { get; set; }
        /// <summary>
        /// 特殊应用
        /// </summary>
        public string? ApplyCode { get; set; }
        /// <summary>
        /// 材质
        /// </summary>
        public string? TextureCode { get; set; }
        /// <summary>
        /// 单位
        /// </summary>
        public string? Unit { get; set; }
        public bool IsEnable { get; set; }
        public List<long>? SupplierIds { get; set; }
    }
}
